<template>
  <van-checkbox v-model="checked" icon-size="20px">
    <van-swipe-cell>
      <van-card
        num="2"
        price="2.00"
        desc="描述信息"
        title="商品标题"
        class="goods-card"
        thumb="https://img01.yzcdn.cn/vant/cat.jpeg"
      />
      <template #right>
        <van-button square text="删除" type="danger" class="delete-button" />
      </template> </van-swipe-cell
    >>
  </van-checkbox>
</template>
<script>
export default {
  data() {
    return {
      checked: true,
    };
  },
};
</script>
<style>
.goods-card {
  margin: 0;
  background-color: white;
}

.delete-button {
  height: 100%;
}
</style>
